package com.example.pay.mapper;

import com.example.pay.domain.Time;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Wu YunXia
 * @Description:
 * @Date: Created in 15:44 2020/12/7
 * @Modefied By:
 */
@Mapper
public interface TimeMapper {

    /**
    * @Date 14:33 2020/12/8
    * @desc: 添加时间
    */
    int addTime(String userId, String timmer, String tip);


    /**
    * @Date 16:18 2020/12/8
    * @desc: 查询
    */
    public List<Time> queryAll(String userId);


    /**
    * @Date 16:18 2020/12/8
    * @desc: 删除
    */
    int delTime(int id);
}
